<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="dictGroupList" checkbox="false" fitColumns="true" title="实验室分室列表" actionUrl="labBranchController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建日期"  field="createDate" formatter="yyyy-MM-dd" hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="建制名称"  field="name"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="实验中心"  field="expCenter.name"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="所属院部"  field="college.collegeName"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="学科"  field="subject.subjectName"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="是否删除"  field="deleted"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
    <t:dgFunOpt  funname="editItemDetail({'编辑'},{'labBranchController.do?goUpdate'},id,{'900'},{'480'})" title="编辑"  />
   <t:dgFunOpt  funname="showItemDetail({'查看'},{'labBranchController.do?goUpdate'},id,{'900'},{'480'})" title="查看"  />
   <t:dgDelOpt title="删除" url="labBranchController.do?doDel&id={id}" />
   <t:dgToolBar title="录入分室" icon="icon-add" url="labBranchController.do?goAdd" funname="add" height="480" width="900"></t:dgToolBar>
 
   </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){
 		//给时间控件加上样式
 		$("#dictGroupListtb").find("input[name='createDate']").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 });
 
 
 </script>